<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<html>
<head>
<%@include file="/inc/head.jsp"%>
<title>列车查询</title>
<style type="text/css">
#checiForm{
	float: left;
	width: 140px;
}
.grayInput{
	color: gray;
}
</style>
<script type="text/javascript">
function clickInput(obj,text){
	if(obj.value==text){
		obj.value="";
		obj.style.color="black";
	}else{
		obj.select();
	}
}
</script>
</head>
<body>
<form action="http://www.gaocan.com/train" method="get" target="_blank">
<input type="text" name="srcCity" value="出发城市" onclick="clickInput(this,'出发城市')" size="15" class="grayInput">
<input type="text" name="destCity" value="到达城市" onclick="clickInput(this,'到达城市')" size="15" class="grayInput">
<input type="submit" name="submit" value="搜索最佳路线">
</form>
<form action="http://www.gaocan.com/train" method="get" target="checi" id="checiForm">
<label for="num">车次</label>
<input type="text" name="num" size="5">
<input type="submit" name="submit" value="查询">
</form>
<form action="http://www.gaocan.com/train" method="get" target="_blank" id="cityForm">
<label for="city">途经城市</label>
<input type="text" name="city" size="5">
<input type="submit" name="submit" value="查询">
</form>
<iframe src="about:blank" width="100%" frameborder="0" height="30" name="checi"></iframe>
</body>
</html>